package com.samphanie.auiu.auth.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.samphanie.auiu.mbg.model.SysRole;
import com.samphanie.auiu.mbg.model.UserRole;

import java.util.List;
import java.util.Set;

/**
 * 用户角色关联Service接口
 *
 * @author zsy
 * @date 2021-05-10
 */
public interface IUserRoleService extends IService<UserRole> {

    Set<SysRole> getRoleList(Long userId);

    boolean deleteByUserId(Long userId);

    boolean deleteByUserIds(List<Long> ids);
}
